package com.jrx.anytxn.customer.mapper.base;

import com.jrx.anytxn.customer.entity.CmCustomerLabel;

public interface CmCustomerLabelMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record CmCustomerLabel
     * @return int
     */
    int insert(CmCustomerLabel record);

    /**
     * 根据字段是否为空保存 
     * @param record CmCustomerLabel
     * @return int
     */
    int insertSelective(CmCustomerLabel record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return CmCustomerLabel
     */
    CmCustomerLabel selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record CmCustomerLabel
     * @return int
     */
    int updateByPrimaryKeySelective(CmCustomerLabel record);

    /**
     * 根据主键更新所有字段 
     * @param record CmCustomerLabel
     * @return int
     */
    int updateByPrimaryKey(CmCustomerLabel record);
}